<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<c:set var="loginUrl"><tiles:getAsString name="login-url"/></c:set>
<form action="<c:url value="${loginUrl}"/>" name="ksr-login-form" class="form ${param.mode}" method="post" role="form">
		<div class="input-item font-16 full-width margin-vertical-half">
			<div class="errContainer  errorMsg">
		<label for="email" class="error"></label>
	</div>	
			<div class="full-width table-disp">
				<label for="email" class="label table-cell text-left">Email:</label>
 			<div class="table-cell">
 				<input type="text" value="" name="email" id="email" class="text-field required email full-width font-16 form-control" placeholder="Email"/>
 			</div>
			</div>
		</div>

 		<div class="input-item font-16 full-width margin-vertical-half">
		<div class="errContainer  errorMsg">
		<label for="password" class="error"></label>
	</div>
	<div class="full-width table-disp">
		<label for="password" class="label table-cell text-left">Password:</label>
		<div class="table-cell">
  			<input type="password" value="" name="password" class="full-width font-16 text-field form-control required"/>
 			</div>
			</div>
		</div>
		 <input type="hidden" value="${fullUrl}" name="redirectUrl"/>	
	<div class="clearfix"></div>
  		<div class="submit-button ${param.mode} margin-top">
   		<button type="submit" class="btn btn-primary">Login</button>	
   		<button type="reset" class="btn btn-default"><fmt:message key="msg.reset"/></button>	
  		</div>	
	</form>
